import request from '@/utils/request'
import qs from 'qs'

export const handleOrigin = (rankMethod, origin) =>
    request({
        url: '/api/handleOrigin',
        method: 'POST',
        data: qs.stringify({
            rankMethod,
            origin
        })
    })
